package com.yuhang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuhang
 * @since 2021-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HyMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    private String menuName;

    private String menuUrl;

    private Integer menuParentId;

    @TableField(exist = false)
    public List<HyMenu> menuList;


}
